package com.exam.mysql;

import com.exam.entity.ExUserPaperHistory;
import com.exam.entity.ExUserPaperHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExUserPaperHistoryDao {
    long countByExample(ExUserPaperHistoryExample example);

    int deleteByExample(ExUserPaperHistoryExample example);

    int deleteByPrimaryKey(Integer upid);

    int insert(ExUserPaperHistory record);

    int insertSelective(ExUserPaperHistory record);

    List<ExUserPaperHistory> selectByExample(ExUserPaperHistoryExample example);

    ExUserPaperHistory selectByPrimaryKey(Integer upid);

    int updateByExampleSelective(@Param("record") ExUserPaperHistory record, @Param("example") ExUserPaperHistoryExample example);

    int updateByExample(@Param("record") ExUserPaperHistory record, @Param("example") ExUserPaperHistoryExample example);

    int updateByPrimaryKeySelective(ExUserPaperHistory record);

    int updateByPrimaryKey(ExUserPaperHistory record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table ex_user_paper_history
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<ExUserPaperHistory> list);
}